home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / GIFLIB12.ARJ / GIFHISTO.DOC < prev    next >
Text File  |  1991-05-13  |  2KB  |  44 lines

  1.             GifHisto
  2.             --------
  3.  
  4. Program to create histogram of number of pixels using each color. Output
  5. can be formated into a GIF histogram file, or text file - both goes to
  6. stdout.
  7.  
  8.  
  9. Usage:
  10. ------
  11.  
  12. Usage: GifHisto [-q] [-t] [-s Width Height] [-n ImageNumber] [-b] [-h] GifFile
  13.  
  14.   If no GifFile is given, GifHisto will try to read stdin for GIF file.
  15.  
  16. Memory required:
  17. ----------------
  18.  
  19. Line.
  20.  
  21.  
  22. Options:
  23. --------
  24.  
  25. 1. [-q] : quite mode. Default off on MSDOS, on on unix. Controls printout
  26.    of running scan lines. Use -q- to turn off.
  27. 2. [-t] : Force output to be text file of the form: Size of colormap lines
  28.    each contains two integers: number of times color appeared, and color
  29.    index. This in increasing color index order. This output can be fed
  30.    directly to msdos SORT program if number of times color appears ordering
  31.    is desired.
  32.      The colrmap picked is the one to be used for the image to generate
  33.    histogram for, as defined in GIF format.
  34. 3. [-s Width Height] : Size of GIF histogram file. The Height of the
  35.    histogram should be power of 2 dividable by number of colors in colormap.
  36.      Width sets the resolution (accuracy if you like) of the histogram as
  37.    the maximum histogram bar is scaled to fit it.
  38. 4. [-n ImageNumber] : Image number to test. Default is one.
  39. 5. [-b] : Zeros the background color count. As only linear scale bars is
  40.    supported and usually the background appears much more times then rest
  41.    of colors, deleting back ground count will improve the scaling of other
  42.    colors.
  43. 6. [-h] : print one command line help, similar to Usage above.
  44.